package com.defangit.production.domain;

import java.time.LocalDateTime;
import java.util.List;

public class MaterialsBill {
    private int id;
    private String no;
    private List<ManufactureItem> items;
    private Operator user;
    private LocalDateTime createTime;

    public int getId() {
        return id;
    }

    public MaterialsBill setId(int id) {
        this.id = id;
        return this;
    }

    public String getNo() {
        return no;
    }

    public MaterialsBill setNo(String no) {
        this.no = no;
        return this;
    }

    public List<ManufactureItem> getItems() {
        return items;
    }

    public MaterialsBill setItems(List<ManufactureItem> items) {
        this.items = items;
        return this;
    }

    public Operator getUser() {
        return user;
    }

    public MaterialsBill setUser(Operator user) {
        this.user = user;
        return this;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public MaterialsBill setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        return this;
    }
}
